libghc-comonad-dev software package provides Haskell 98 comonads, you can install in your Ubuntu 16.10 (Yakkety Yak) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libghc-comonad-dev
libghc-comonad-dev is installed in your system.
Make ensure the libghc-comonad-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libghc-comonad-dev *
You will get with libghc-comonad-dev package name, version, architecture and description in a table
| Distro | Ubuntu 16 10 yakkety yak |
| Section | Haskell |
| Package | libghc-comonad-dev |
| Version | 4.2.7.2-3build3 |
| Description | Haskell 98 comonads |
| Sub Section | Haskell |